
###################################################################################################
#### Tertytchnaya, Katerina. 2023. ################################################################
#### "Replication Data for: Preventive Repression and Public Opinion” ############################
#### World Politics. Forthcoming.                                                 #################
###################################################################################################

####
## Data:
####

The replication archive includes source variables from the following opinion surveys: 
1. Levada 2017 June omnibus: omnibus_2017.dta & omnibus_2017_june.dta 

Also included in omnibus_2017.dta is: (1) the Petrov-Titkov measure of regional democracy for each of the federal subjects in the survey; (2) an indicator of opposition parties' vote share in the 2016 Duma (Parliamentary) Election from the Central Electoral Commission; and, finally, (3) an indicator of local protests and arrests in the June 2017 election from OVD Info and Meduza. 

2. Levada 2020 March omnibus: omnibus_2020_june.dta 

3. Levada 2020 September omnibus: replication.dta 

The following data files are also provided: 
4. events_analysis.dta: Provides information on the June 2017 protests, arrests, and other local and regional-level covariates needed to replicate Table 8 in the Appendix 

5. FigureA3.csv: monthly data on protests and unauthorized protest share needed to replicate Figure A.3 in the Appendix. 

####
## Documentation:
####

1. this readme.txt file
2. questionnaires: survey question wordings 
3. codebook: summary statistics 

####
## Code:
####

The replication archive includes 4 Stata do files and 19 R script files

For the analysis in R please run: Tertytchnaya_Replication.R
It replicates: 
(1) Manuscript Figure 1; 
(2) Manuscript Table 2; 
(3) Manuscript Figure 2; 
(4) Manuscript Table 3;
(5) Manuscript Figure 3; 
(6) Appendix Figure A.1; 
(7) Appendix Figure A.2; 
(8) Appendix Figure A.3; 
(9) Appendix Table C.1; 
(10) Appendix Table C.2; 
(11) Appendix Table C.6;
(12) Appendix Table C.7;
(13) Appendix Figure C.4; 
(14) Appendix Table D.1 


For the analysis in Stata please run: replicate_observational.do & replicate_experiment.do 

'replicate_observational.do' uses 'setup_obs' to set-up the data. It replicates:
(1) Manuscript Table 1; 
(2) Appendix Figure B.1;
 (3) Appendix Table B.1

'replicate_experiment.do' uses 'setup_experiment' to set-up the data. It replicates: 
(1) Manuscript Table 2 & Produces the output on which Manuscript Figure 2, produced in R, relies, output printed in the .csv files; 
(2) Manuscript Table 3 & Produces the output for Manuscript Figure 3, produced in R, printed in the .csv files - also the same output is shown in Table C.5 in the Appendix; 
(3) Appendix Figure C.2; 
(4) Appendix Table C.3; 
(5) Appendix Table C.4; 
(6) Appendix Figure C.3. 


####
## Software:
####

All data analyses in this article were carried out using Stata 17 and R Studio 2020.07.1. 
